<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理员列表</title>
    <link href="css/examples-offline.css" rel="stylesheet">
</head>
<body>
{if $edit}
<form action="?act=user.update" method='post'>
<table class="common">
<tr>
<td>用户名</td>
<td>{$info.user_name}</td>
</tr>
<tr>
<td>旧密码</td>
<td><input type="password" name="old_password"></td>
</tr>
<tr>
<td>新密码</td>
<td><input type="password" name="new_password"></td>
</tr>
<tr>
<td>确认密码</td>
<td><input type="password" name="new_password_confirm"></td>
</tr>
<tr>
<td>昵称</td>
<td><input type="text" value="{$info.nick_name}" name = "nick_name"></td>
</tr>
<tr>
<td>真实姓名</td>
<td><input type="text" value="{$info.real_name}" name = "real_name"></td>
</tr>
<tr>
<td>权限</td>
<td>{$info.permission}</td>
</tr>
<tr>
<td>注册时间</td>
<td>{$info.register_time}</td>
</tr>
<tr>
<td align="center" colspan=2><input type="submit" value="提交"/></td>
</tr>
</table>
</form>
{else}
<table>
<tr>
<td>用户名</td>
<td>{$info.user_name}</td>
</tr>
<tr>
<td>昵称</td>
<td>{$info.nick_name}</td>
</tr>
<tr>
<td>真实姓名</td>
<td>{$info.real_name}</td>
</tr>
<tr>
<td>权限</td>
<td>{$info.permission}</td>
</tr>
<tr>
<td>注册时间</td>
<td>{$info.register_time}</td>
</tr>
</table>
{/if}
</body>
</html>